﻿<%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true"
    CodeFile="CompanyJobList.aspx.cs" Inherits="CompanyJobList" %>

<%@ Register src="UserControl/CompanyAddressMap.ascx" tagname="CompanyAddressMap" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="images/Job/css.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_Main" runat="Server">
    <div id="content">
        <div class="frame clearfix">
            <div id="zpcontent">
                <div id="companyTitle">
                    <h1>
                        <asp:Literal ID="lbl_CompanyName" runat="server"></asp:Literal></h1>
                </div>
                <table cellpadding="0" cellspacing="0" border="0" class="companyInfoTab">
                    <tbody>
                        <tr>
                            <td width="1%" nowrap="nowrap">
                            </td>
                            <td class="companyInfoItems">
                                <table cellpadding="0" cellspacing="0" border="0" class="companyInfoTab">
                                    <tbody>
                                        <tr>
                                            <td width="1%" nowrap="nowrap" valign="top">
                                                公司行业：
                                            </td>
                                            <td>
                                                <asp:Literal ID="lbl_Industry" runat="server"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="1%" nowrap="nowrap">
                                                公司类型：
                                            </td>
                                            <td>
                                                <asp:Literal ID="lbl_CompanyType" runat="server"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="1%" nowrap="nowrap">
                                                公司规模：
                                            </td>
                                            <td>
                                                <asp:Literal ID="lbl_CompanySize" runat="server"></asp:Literal>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <img src="./images/blank.gif" width="1" height="6"><br>
                <table cellpadding="0" cellspacing="0" border="0" class="jobInfoTab">
                    <tbody>
                        <tr>
                            <td class="cornerTL">
                                <img src="./images/blank.gif" width="8" height="8">
                            </td>
                            <td class="cornerTR">
                                <img src="./images/blank.gif" width="1" height="1">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="border">
                                <!-- 企业简介 -->
                                <div class="bgTitle">
                                    企业简介：</div>
                                <asp:Literal ID="lbl_Description" runat="server"></asp:Literal>
                                <div style="border-top: #ccc 1px dotted; height: 1px; overflow: hidden;">
                                </div>
                                <br>
                                公司地址：
                                <asp:Literal ID="lbl_Address" runat="server"></asp:Literal>&nbsp;&nbsp;
                                <!-- 招聘职位 -->
                                <uc1:CompanyAddressMap ID="CompanyAddressMap1" runat="server" />
                                <div class="bgTitle">
                                    <div style="float: left;">
                                        <b class="blue12f">招聘职位：</b></div>
                                </div>
                                <img src="./images/blank.gif" width="1" height="9"><br>
                                <!--显示多城市职位资料-->
                                <div id="morecitys">
                                    <br>
                                    <asp:ListView ID="ListView1" runat="server">
                                        <ItemTemplate>
                                            <tr style="">
                                                <td>
                                                    <p>
                                                        <%# Convert.ToDateTime(Eval("PublishDate")).ToShortDateString() %></p>
                                                </td>
                                                <td>
                                                    &nbsp;&nbsp;<a href="./job.aspx?id=<%# Eval("ID") %>" target="_blank" class="blue12line"><%# Eval("Title") %></a>&nbsp;&nbsp;
                                                </td>
                                                <td><%# LocationManager.Get(Convert.ToInt32(Eval("LocationID"))).Name %></td>
                                            </tr>
                                        </ItemTemplate>
                                        <EmptyDataTemplate>
                                            <table runat="server" style="">
                                                <tr>
                                                    <td>
                                                        该公司目前未发布任何招聘信息。
                                                    </td>
                                                </tr>
                                            </table>
                                        </EmptyDataTemplate>
                                        <LayoutTemplate>
                                            <table runat="server" class="morecitysTab">
                                                <tr runat="server">
                                                    <td runat="server">
                                                        <table id="itemPlaceholderContainer" runat="server" border="0" style="">
                                                            <tr id="itemPlaceholder" runat="server">
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </LayoutTemplate>
                                    </asp:ListView>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
